package com.example.exercise.feedback.dao;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.exercise.feedback.vo.AppFeedbackVO;
import com.example.exercise.feedback.dao.entity.AppFeedbackEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* 
*/
public interface AppFeedbackDAO {

    List<AppFeedbackEntity> findByWhere(Page<?> page, @Param("param") AppFeedbackVO appFeedbackVO);

    AppFeedbackEntity findByKey(@Param("param") AppFeedbackVO appFeedbackVO);

    int insert(@Param("param") AppFeedbackEntity appFeedbackEntity);

    int updateByKey(@Param("param") AppFeedbackEntity appFeedbackEntity);

    int deleteByKey(@Param("param") AppFeedbackVO appFeedbackVO);

}